﻿using System.Windows.Forms;

namespace SMS.Core.View.Component
{
    public partial class ConnectionPanel : UserControl
    {
        #region Accessors
        
        public ConnectionPanel()
        {
            InitializeComponent();
        }

        public TextBox ServerField
        {
            get { return serverTB; }
        }

        public TextBox PortField
        {
            get { return portTB; }
        }

        public TextBox DatabaseField
        {
            get { return databaseTB; }
        }

        public TextBox UsernameField
        {
            get { return usernameTB; }
        }

        public TextBox PasswordField
        {
            get { return passwordTB; }
        }

        public Button ConnectButton
        {
            get { return connectBtn; }
        }

        public Button ExitButton
        {
            get { return exitBtn; }
        }

        public Button DefaultsButton
        {
            get { return defaultsButton; }
        }

        #endregion
    }
}
